Warnings
QuickDraw GX provides you with an extended set of warnings in the debugging version and a reduced set of warnings in the non-debugging version. Each QuickDraw GX warning has a warning number described by thegxGraphicsWarning
type definition and thegxGraphicWarnings
enumeration:
typedef long gxGraphicsWarning; enum gxGraphicWarnings { /* warnings about warnings */ warning_stack_underflow = -26999, warning_stack_overflow, notice_stack_underflow, notice_stack_overflow, about_to_grow_heap, about_to_unload_objects, /* result went out of range */ map_shape_out_of_range = -26950, move_shape_out_of_range, scale_shape_out_of_range, rotate_shape_out_of_range, skew_shape_out_of_range, map_transform_out_of_range, move_transform_out_of_range, scale_transform_out_of_range, rotate_transform_out_of_range, skew_transform_out_of_range, map_points_out_of_range, /* gave a parameter out of range */ contour_out_of_range = -26900, index_out_of_range_in_contour, picture_index_out_of_range, color_index_requested_not_found, colorSet_index_out_of_range, index_out_of_range, count_out_of_range, length_out_of_range, font_table_index_out_of_range, font_glyph_index_out_of_range, point_out_of_range, profile_response_out_of_range, /* gxFont scaler warnings */ font_scaler_no_output = -26850, font_scaler_fake_metrics, font_scaler_fake_linespacing, font_scaler_glyph_substitution, font_scaler_no_kerning_applied, /* might not be what you expected */ character_substitution_took_place, unable_to_get_bounds_on_multiple_devices, font_language_not_found, font_not_found_during_unflattening, /*storage */ unrecognized_stream_version, bad_data_in_stream #ifdef debugging /*available only in debugging init */ , /* nonsense data */ new_shape_contains_invalid_data = -26700, new_tag_contains_invalid_data, extra_data_passed_was_ignored, font_table_not_found, font_name_not_found, /* doesn't make sense to do */ unable_to_traverse_open_contour_that_starts_or_ ends_off_the_curve, unable_to_draw_open_contour_that_starts_or_ends_ off_the_curve, cannot_dispose_default_shape, cannot_dispose_default_style, cannot_dispose_default_ink, cannot_dispose_default_transform, cannot_dispose_default_colorProfile, cannot_dispose_default_colorSet, shape_direct_attribute_not_set, /* couldn't find what you were looking for */ point_does_not_intersect_port, cannot_dispose_non_font, face_override_style_font_must_match_style, union_of_area_and_length_returns_area_only, insufficient_coordinate_space_for_new_device, /* other */ shape_passed_has_no_bounds, tags_of_type_flst_removed, translator_not_installed_on_this_grafport #endif };Non-debugging warnings are listed in the section "Warnings" beginning on page 3-10. Debugging warnings are listed in the section "Warnings" beginning on page 3-10.